package com.bdqn.boot.beans;

import lombok.Data;
import lombok.ToString;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author Hasee
 * @version 1.0
 * @className Movie
 * @description TODD
 * @date 2025/2/20 16:28
 */
@ConfigurationProperties(prefix = "movie")
@Component
@ToString
@Data
public class Movie {
    private Integer id;
    private String title;
    private String director;
    private Integer releaseYear;
    private String genre;
    private Integer duration;
    private Double rating;
    private String language;
    private String country;
    private List<String> cast;
    private String synopsis;
}
